package com.simtop.service;

import com.simtop.pojo.userpo.User;
import com.simtop.vo.ksvo.Ksvo;
import com.simtop.vo.ksvo.Ksvos;

import java.util.Date;
import java.util.List;

public interface KsServer {
    void deleteinsertStuExamSj(Integer ids, Integer examId, Integer sjId);

    void createStuExam(Ksvo ksvo);

    List<Ksvos> finAllOne(String op, String px , String examName);


    List<Ksvos> finAllTwo(String op, String px, Integer id,String examName);

    void insertStuExamSj(Integer ids, Integer examId, Integer sjId, String optionAnswer);

    void deleteStuExam(Integer stuexamId);

    void insertLastStuExamSj(Integer stuexamId);

    List<User> finduserks(String username);

    List<Ksvos> finduserksExam(String op, String px, Integer id);

    Integer getassessMent(Integer examId);

    int findkhCount(Integer id, Integer examId);

    int findkhCount2(Integer id, Integer examId);

    List<Ksvo> findAllList();

    void updateStatus(Integer id , Date endTime);
}
